package com.bawei.model_sevent.Activity.IM;

import android.view.View;

import com.hyphenate.chat.EMConversation;
import com.hyphenate.easeui.manager.EaseSystemMsgManager;
import com.hyphenate.easeui.modules.conversation.EaseConversationListFragment;

/**
 * 时间：2021/12/3 10:26.
 * 类名：ConversationListFragment
 * 作用：Model_sevent
 * 作者:张羽_zy
 */
public class ConversationListFragment extends EaseConversationListFragment {
    @Override
    public void onItemClick(View view, int position) {
        super.onItemClick(view, position);
        Object item = conversationListLayout.getItem(position).getInfo();
        if (item instanceof EMConversation)
        {
            if (EaseSystemMsgManager.getInstance().isSystemConversation((EMConversation) item))
            {
                
            }else 
            {
                //跳转到聊天页面
            }
        }
    }
}
